#ifndef _APP_AUDIO_H
#define _APP_AUDIO_H

#include <stdint.h>
#include <stdbool.h>

//#include "audio_common.h"
//#include "audio_scene.h"

//void app_audio_a2dp_sink_start(audio_type_t audio_type, uint32_t sample_rate);
void app_audio_a2dp_sink_stop(void);
void app_audio_a2dp_sink_play(uint8_t *buffer, uint32_t length);

//void app_audio_sco_start(audio_type_t audio_type, audio_sence_report_encoded_frame report_enc_cb, void *report_enc_arg);
void app_audio_sco_stop(void);
void app_audio_sco_recv(bool valid, uint8_t audio_type, uint8_t *buffer, uint32_t length);

void app_audio_voice_recognize_start(void);
void app_audio_voice_recognize_stop(void);

void app_audio_a2dp_source_start(audio_type_t audio_type, a2dp_sbc_param_t *sbc_param, audio_sence_report_encoded_frame report_enc_cb, void *report_enc_arg);
void app_audio_a2dp_source_stop(void);

void app_audio_tone_play(audio_type_t audio_type, uint8_t *tone_sample, uint32_t tone_len);
void app_audio_tone_stop(void);

#endif  // _APP_AUDIO_H
